<template>
  <svg aria-hidden="true">
    <use :href="symbolId" :fill="color" />
  </svg>
</template>
<script lang="ts" setup>

import { computed, useAttrs } from 'vue'
const attrs = useAttrs()
const symbolId = computed(() => `#${attrs.prefix}-${attrs.name}`)
const color = attrs.color as string
</script>
